How to check current URL inside @if statement in Laravel

123

How to check current URL inside @if statement in Laravel -

@if (request()->is('admin/myRoute'))
[do stuff]
@endif

Comments

Submit
0 Comments